
void pressureControl(){
  boolean enablePressure = digitalRead(13);
  if( keg1Pressure < keg1PressureSet - pressureHysteresis){
    if(enablePressure)
    requestPressureOnKeg1 = true;
  }

  if(keg1Pressure >=  keg1PressureSet ){
    requestPressureOnKeg1 = false;
  }
  
  if(!enablePressure)
    requestPressureOnKeg1 = false;

  
    if(requestPressureOnKeg1)
          digitalWrite(GAS_TOGGLE,1);
    else
          digitalWrite(GAS_TOGGLE,0);
}


